'use strict';
exports = module.exports = function($scope, $timeout) {
    $scope.colors = [
        {name:'black', shade:'black111', value:"black222"},
        {name:'white', shade:'white111'},
        {name:'red', shade:'red111'},
        {name:'blue', shade:'blue111'},
        {name:'yellow', shade:'yellow111'}
    ];
    $scope.object = {
        dark: "dark111",
        light: "light111",
        lai: "lai111"
    };
    $scope.test1 = "12"
    $scope.data1 = [
        {id:undefined, name:'all'},
        {id:'12', name:'aaa12'},
        {id:'13', name:'aaa13'},
        {id:'14', name:'aaa14'},
        {id:'15', name:'aaa15'}
    ];
    $scope.test2 = "12"
    $scope.data2 = [];
    $timeout(function(){
        $scope.data2 = [
            {id:'12', name:'aaa12'},
            {id:'13', name:'aaa13'},
            {id:'14', name:'aaa14'},
            {id:'15', name:'aaa15'}
        ];
    },1e3);
    $scope.test3 = ""
    $timeout(function(){
        $scope.test3 = "13";
    },2e3);
}